package com.zmn.oms.model.entity.conf.distribute;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 描述:抢单配置入参对象
 *
 * @param
 * @author tanlei
 * @return
 * @since 2021/7/19 11:48
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RobOrderQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "城市id不能为空")
    @ApiModelProperty(value = "城市id",required = true)
    private Integer cityId;

    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty(value = "业务类型",required = true)
    private Integer bizType;

    @ApiModelProperty(value = "服务商id")
    private Integer companyId;

    @NotNull(message = "派单方式不能为空")
    @ApiModelProperty(value = "派单方式 ")
    private Integer distributeWay;

    @ApiModelProperty(value = "平台")
    private Integer plat;

}
